import time
arr = [3,98,4,9,8]
def bubble_sort(nums):
    swapped = True
    while swapped:
        swapped = False
        for i in range(len(arr) - 1):
            if arr[i] > arr[i + 1]:
                arr[i], arr[i + 1] = arr[i + 1], arr[i]
                swapped = True
def read2list(filename):
    file = open(filename, 'r')
    data = file.readlines()
    return
data_t_start = time.time()
bubble_sort('m1')
t_finish = time.time()
print("m1_sorted",round((t_finish-0)*1000),"milliseconds")
